import request from "@/utils/request";
export default {
  sendSysMsg(event) {
    return request({
      url: `/service/message/sendSysMsg`,
      method: "post",
      data: event
    });
  },
  getMsgByUid(page,limit) {
    return request({
      url: `/service/message/msgList/${page}/${limit}`,
      method: "get"
    });
  },
  getNewMsg() {
    return request({
      url: `/service/message/getNewMsg`,
      method: "get"
    });
  },
  readMsg() {
    return request({
      url: `/service/message/readMsg`,
      method: "put"
    });
  }
};
